package cn.kgc.service.impl;

import cn.kgc.bean.pojo.StHazard;
import cn.kgc.mapper.StHazardMapper;
import cn.kgc.service.StHazardService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @projectName: safetyMag
 * @package: cn.kgc.service.impl
 * @className: StHazardServiceImpl
 * @author: yindexin
 * @description: TODO
 * @date: 2023/5/1 17:20
 * @version: 1.0
 */
@Service("stHazardService")
public class StHazardServiceImpl implements StHazardService {
    @Resource
    private StHazardMapper stHazardMapper;
    @Override
    public List<StHazard> getStHazardAll() {
        return stHazardMapper.getStHazardAll();
    }
}
